var Global;
Global || (Global = {}), Global = {
    HighlyAdaptive: function () {
        var i = $(window)[['width']](), s = $(window)[['height']]();
        if (i < 1800) {
            var a = (i - 1080) / 2 - $('.left-decorate')[['width']]();
            a < 0 && ($('.img-education')[['css']]('left', a - 20), $('.img-education3')[['css']]('left', a), $('.water-spray01')[['css']]('left', a - 100), $('.img-play2')[['css']]('left', a - 50), $('.img-play3')[['css']]('left', a - 250), $('.img-animal2')[['css']]('left', a), $('.img-animal4')[['css']]('left', a), $('.elephant')[['css']]('left', a - 10), $('.parrot_1')[['css']]('left', a + 220), $('.img-service2')[['css']]('left', a));
            var l = (i - 1080) / 2 - $('.right-decorate')[['width']]();
            l < 0 && ($('.img-education2')[['css']]('right', l - 20), $('.water-spray02')[['css']]('right', l - 100), $('.water-spray03')[['css']]('right', l - 100), $('.img-play')[['css']]('right', l - 50), $('.img-play4')[['css']]('right', l - 100), $('.img-animal')[['css']]('right', l), $('.img-animal3')[['css']]('right', l), $('.griaffe')[['css']]('right', l), $('.img-service')[['css']]('right', l));
        }
        $('.adaptive-popup')[['css']]({width: i, height: s});
    }, bindClick: function () {
        $('.navbar-toggle')[['unbind']]('click')[['click']](function () {
            $(this)[['hasClass']]('open') ? ($(this)[['removeClass']]('open'), $('.navbar-collapse')[['removeClass']]('open'), $('html')[['removeClass']]('fixed')) : ($(this)[['addClass']]('open'), $('.navbar-collapse')[['addClass']]('open'), $('html')[['addClass']]('fixed'), $('#J_TopNav ul')[['slideDown']]());
        }), $('#J_btnNavClose')[['on']]('click', function () {
            $('.navbar-toggle')[['trigger']]('click');
        });
    }, initial: function (i) {
        var s = Global;
        s[['HighlyAdaptive']](), $(window)[['resize']](function () {
            s[['HighlyAdaptive']]();
        }), s[['bindClick']]();
    }
};